﻿
using System;
using sharpxbot.Core.Security.Traffic;
namespace sharpxbot.Plugins.Context
{
    public class AdminContext : IAdminContext
    {
        public AdminContext(ITrafficReportGenerator generator)
        {
            if (generator == null)
                throw new NullReferenceException("Illegal null-reference generator. AdminContext ctor");

            TrafficReportGenerator = generator;
        }

        #region IAdminContext Members

        public ITrafficReportGenerator TrafficReportGenerator { get; private set; }

        #endregion
    }
}
